<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户端跟进记录</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">

    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/js/need/select.2.0.css" />
    <link rel="stylesheet" href="/css/skin.css"/>
    <style>
        .table{
            border: none;
        }
        #followPlanLogForm > thead > tr > th {
            height: 42px;
            border: none;
            background: #f0f1f7;
            font-size: 13px;
        }
        #followPlanLogForm > tbody > tr:first-child > td {
            border: none;

        }
        #followPlanLogForm > tbody > tr > td {
            border-color: #edf1f8;
            background: none;
            border-right: none;
            border-left: none;
        }
        .tags{
            display: inline-block;
            height: 26px;
            padding: 0 10px;
            margin: 0 15px 12px 0;
            border-radius: 4px;
            background: #d9dfff;
            line-height: 26px;
            font-size: 13px;
            color: #4460f1;
        }
        .table-hover > tbody > tr:hover {
            background-color: #fdf8f2;
        }
    </style>
</head>
<body>

<div class="container-fluid">
    <input type="hidden" id="qx" value="2">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>跟进记录</h1>
                </div>
                <div class="card-body">
                    <div class="row content-action">
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                            <div class="time-search pull-left">
                                <input type="hidden" id="dateType" name="dateType"/>
                                <div class="all active-second" onclick="selectTime('all')">全部</div>
                                <div class="today"  onclick="selectTime('today')">今天</div>
                                <div class="week"  onclick="selectTime('week')">本周</div>
                                <div class="month"  onclick="selectTime('month')">本月</div>
                                <div class="year"  onclick="selectTime('year')">本年</div>
                            </div>
                            <div class="btn-group pull-left">
                                <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    导入 <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu">
                                    <li><a href="#!" onclick="showImportFollowModal()">直接导入</a></li>
                                    <li><a href="#!" onclick="downFollowTemplate()">下载模板</a></li>
                                </ul>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">

                            <div class="pull-right">
                                <button class="btn btn-default btn-senior" data-toggle="collapse"
                                        data-target="#filterContent" aria-expanded="false"
                                        aria-controls="filterContent" style="margin-right: 20px">
                                    <i class="mdi mdi-sort-variant"></i>高级筛选
                                </button>
                                <div class="min-search pull-right">
                                    <input class="form-control" type="text" placeholder="请输入客户名称"
                                           id="customerName" name="customerName">
                                    <button class="btn btn-primary" type="button" onclick="searchOrderList(1)">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span>
                                    </button>
                                </div>

                            </div>
                            <div class="pull-right" style="margin-right: 20px">
                                <div class="dropdown">
                                    <div class="clearfix">
                                        <!--<button class="btn btn-default btn-senior" data-toggle="collapse"
                                                data-target="#addInputMoney2" aria-expanded="false"
                                                aria-controls="addInputMoney2"  style="margin-left: 0px;">
                                            新增跟进
                                        </button>-->
                                        <button type="button" id="followUp" class="btn btn-default" data-toggle="dropdown" style="margin-left: 0px;">新增跟进</button>
                                        <ul class="dropdown-menu">
<!--                                            <li><a href="JavaScript:void(0);" onclick="goOnline('online')">线上电话</a></li>-->
                                            <li><a href="JavaScript:void(0);" onclick="goOnline('offline')">线下电话</a></li>
                                            <li><a href="JavaScript:void(0);" onclick="goOnline('visit')">拜访</a></li>
                                            <li><a href="JavaScript:void(0);" onclick="goOnline('WeChat')">微信交流</a></li>
                                            <li><a href="JavaScript:void(0);" onclick="goOnline('accompanyingVisit')">陪访</a></li>
                                            <li><a href="JavaScript:void(0);" onclick="goOnline('email')">电子邮件</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>

                    <!--高级筛选-->
                    <div class="collapse filter-content" id="filterContent">
                        <div class="row">
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="customerName2">客户名称</label>
                                <div>
                                    <input class="form-control" type="text" placeholder="请输入客户名称"
                                           id="customerName2" name="customerName2">
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="contactPerson">联系人名称</label>
                                <div>
                                    <input class="form-control" type="text" placeholder="请输入联系人名称"
                                           id="contactPerson" name="contactPerson">
                                </div>
                            </div>

                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label class="control-label" for="startDate">跟进时间</label>
                                <div class="form-content input-group">
                                    <input type="text" id="startDate" class="form-control date-input"
                                           placeholder="请输入起始时间">
                                    <span class="input-group-addon">至</span>
                                    <input type="text" id="endDate" class="form-control date-input"
                                           placeholder="请输入截止时间">
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label class="control-label" for="startDate">跟进方式</label>
                                <div class="form-content input-group">
                                    <select class="form-control" id="followWay" type="text" title="请选择跟进方式" data-live-search="true">
                                        <option value="">请选择跟进方式</option>
                                        <option value="1">线上电话</option>
                                        <option value="2">拜访</option>
                                        <option value="3">微信</option>
                                        <option value="4">线下电话</option>
                                        <option value="5">邮箱</option>
                                        <option value="6">陪访</option>
                                    </select>
                                </div>
                            </div>
                            <div class="clearfix hidden-xs"></div>
                            <div class="form-group col-lg-2 col-md-4 col-sm-6 col-xs-12">
                                <label>&nbsp;</label>
                                <div class="text-right">
                                    <button class="btn btn-primary" type="button" id="btn-search" onclick="searchOrderList(2)">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                    <button class="btn btn-default" onclick="clearAllData()">重置</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <table id="followPlanLogForm"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="importFollowModal" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body">
                <input type="file" id="importFollowFile" name="importFollowFile">
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="importFollow()">导入
                </button>
                <button type="button" class="btn btn-default" data-dismiss="modal"
                        onclick="cancelImportFollow()">取消
                </button>
            </div>
        </div>
    </div>
</div>


</body>


<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- -&#45;&#45;-->
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<!--时间选择插件-->

<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<!-- 多选框下拉 -->
<script src="/js/verSelect.2.0.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/followPlanManager/followPlanLogForm.js"></script>
</html>